<?php

namespace Tests;

use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Illuminate\Support\Facades\Storage;

abstract class TestCase extends BaseTestCase
{
    use RefreshDatabase;

    /**
     * 每次测试都生成测试数据
     */
    protected $seed = true;

    protected function setUp(): void
    {
        parent::setUp();

        Storage::fake('public');
    }
}
